package com.ly.heart.domain.king.check;

import com.ly.heart.domain.king.BaseChildBo;
import com.ly.heart.domain.king.inventory.FStockLocIdBo;
import com.ly.heart.domain.king.order.FAuxPropIdBo;
import com.ly.heart.domain.king.order.FBillTypeIDBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;


@Data
@ApiModel( "金蝶-检验单物料明细" )
@Accessors(chain = true)
public class CheckFEntityBo {

    @ApiModelProperty("分录号")
    private Integer FEntryId;

    @ApiModelProperty("物料编码")
    private FBillTypeIDBo FMaterialId;

    @ApiModelProperty("质检方案")
    private FBillTypeIDBo FQCSchemeId;

    @ApiModelProperty("单位")
    private BaseChildBo FUnitID;

    @ApiModelProperty("检验数量")
    private String FInspectQty;

    @ApiModelProperty("合格数")
    private String FQualifiedQty;

    @ApiModelProperty("不合格数")
    private String FUnqualifiedQty;

    @ApiModelProperty("样本破坏数")
    private String FSampleDamageQty;

    @ApiModelProperty("样本不合格数")
    private String FSUnqualifiedQty;

    @ApiModelProperty("检验结果")
    private String FInspectResult;

    @ApiModelProperty("质检状态")
    private String FQCStatus;

    @ApiModelProperty("基本单位样本不合格数")
    private String FBaseSUnqualifiedQty;

    @ApiModelProperty("样本量")
    private String FSampleQty;

    @ApiModelProperty("备注")
    private String FMemo;

    @ApiModelProperty("检验单关联标志")
    private Boolean FIsRelated;

    @ApiModelProperty("源单类型")
    private String FSrcBillType0;

    @ApiModelProperty("源单编号")
    private String FSrcBillNo0;

    @ApiModelProperty("基本单位")
    private BaseChildBo FBaseUnitId;

    @ApiModelProperty("质检业务类型")
    private String FQCBusinessType;

    @ApiModelProperty("业务流程")
    private FBFLowIdBo FBFLowId;

    @ApiModelProperty("抽样方案")
    private FBillTypeIDBo FSampleSchemeId;

    @ApiModelProperty("允收数")
    private Integer FAcceptQty;

    @ApiModelProperty("拒收数")
    private Integer FRejectQty;

    @ApiModelProperty("质检结束日期")
    private String FInspectEndDate;

    @ApiModelProperty("基本单位检验数量")
    private Integer FBaseInspectQty;

    @ApiModelProperty("供应商")
    private FBillTypeIDBo FSupplierId;

    @ApiModelProperty("客户")
    private FBillTypeIDBo FCustomerId;

    @ApiModelProperty("生产线")
    private FBillTypeIDBo FProductLineId;

    @ApiModelProperty("工位/工序编码")
    private FPrdLineLocationBo FPrdLineLocation;

    @ApiModelProperty("生产车间")
    private FBillTypeIDBo FWorkshopId;

    @ApiModelProperty("仓库")
    private BaseChildBo FStockId;

    @ApiModelProperty("批号")
    private BaseChildBo FLot;

    @ApiModelProperty("检验次数")
    private Integer FInspectTimes;

    @ApiModelProperty("仓位")
    private FStockLocIdBo FStockLocId;

    @ApiModelProperty("耗用时间")
    private Integer FConsumeTime;

    @ApiModelProperty("质检开始日期")
    private String FInspectStartDate;

    @ApiModelProperty("时间单位")
    private String FTimeUnit;

    @ApiModelProperty("基本单位样本破坏数")
    private Integer FBaseSampleDamageQty;

    @ApiModelProperty("基本单位不合格数")
    private Integer FBaseUnqualifiedQty;

    @ApiModelProperty("工序号")
    private Integer FOperNumber;

    @ApiModelProperty("样本破坏承担方")
    private String FSampleDamageBearer;

    @ApiModelProperty("首检")
    private Boolean FIsFirstInspect;

    @ApiModelProperty("基本单位合格数")
    private Integer FBaseQualifiedQty;

    @ApiModelProperty("辅助属性")
    private FAuxPropIdBo FAuxPropId;

    @ApiModelProperty("生产单位")
    private BaseChildBo FPrdUnitId;

    @ApiModelProperty("基本单位让步接收数量")
    private Integer FBaseReAcceptQty;

    @ApiModelProperty("工序说明")
    private String FOperDescription;

    @ApiModelProperty("单位转换表头数量")
    private Integer FUnitTransHeadQty;

    @ApiModelProperty("单位转换工序数量")
    private Integer FUnitTransOperQty;

    @ApiModelProperty("序列号单位")
    private BaseChildBo FSNUnitID;

    @ApiModelProperty("基本单位反写检验数量")
    private Integer FBaseWBInspectQty;

    @ApiModelProperty("基本单位不合格可销售数量")
    private Integer FBaseUnQuaSalQty;

    @ApiModelProperty("供应商批号")
    private String FSupplierLot;

    @ApiModelProperty("生产日期")
    private String FProduceDate;

    @ApiModelProperty("有效期至")
    private String FExpiryDate;

    @ApiModelProperty("新有效期至")
    private String FNewExpiryDate;

    @ApiModelProperty("币别")
    private FBillTypeIDBo FCurrency;

    @ApiModelProperty("折让金额")
    private Integer FDiscountQty;

    @ApiModelProperty("是否拆分行")
    private Boolean FIsSplitRow;

    @ApiModelProperty("当前严格度")
    private String FCurrentStringency;

    @ApiModelProperty("货主类型")
    private String FOwnerTypeId;

    @ApiModelProperty("货主")
    private BaseChildBo FOwnerId;

    @ApiModelProperty("保管者类型")
    private String FKeeperTypeId;

    @ApiModelProperty("保管者")
    private BaseChildBo FKeeperId;

    @ApiModelProperty("BOM版本")
    private BaseChildBo FBomId;

    @ApiModelProperty("计划跟踪号")
    private String FMtoNo;

    @ApiModelProperty("库存组")
    private FBillTypeIDBo FStockGroupId;

    @ApiModelProperty("仓管员")
    private FBillTypeIDBo FStockerId;

    @ApiModelProperty("决策信息")
    private List<FPolicyDetailBo> FPolicyDetail;

    @ApiModelProperty("缺陷信息")
    private List<FDefectDetailBo> FDefectDetail;

    @ApiModelProperty("详情")
    private List<FItemDetailBo> FItemDetail;

    @ApiModelProperty("源单信息")
    private List<FReferDetailBo> FReferDetail;

}
